import {toPairs} from "lodash-unified";

function isNotEmptyObj(obj){
    return obj&&toPairs(obj).length>0;
}

function isEmptyObj(obj){
    return !isNotEmptyObj(obj);
}
function isValidObj(theObj) {
    return theObj !== undefined && theObj != null;
}

export {isEmptyObj,isNotEmptyObj,isValidObj}
